﻿using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JESAI.Caching.MemoryCache
{
    public static class ServiceCollectionExtensions
    {

        public static IServiceCollection AddCaching(this IServiceCollection services)
        {
            services.AddSingleton<CacheManager, MemoryCacheClient>();
            return services;
        }
    }
}
